/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function handleLoginRequest(xhr, status, args) {
    if (args.validationFailed || !args.loggedIn) {
        jQuery('#frmLogin').effect("shake", {times: 3}, 100);
    } else {
        window.location = "/nextincloud/index.rolvar";
    }
}

function handledRedirect() {
    window.location = "/nextincloud/login.rolvar";
}

function refresh() {
    window.location.reload();
}
